/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Inheritance;

/**
 *
 * @author novaldebbyp
 */
public class Animal {
    public Animal(){
        System.out.println("A new animal has been created!");
    }
    
    public void sleep(){
        System.out.println("An animal sleeps...");
    }
    
    public void eat(){
        System.out.println("An animal eats...");
    }
}
